package com.ontheroad.chat;

import com.ontheroad.api.request.ChatRequest;
import com.ontheroad.api.request.ChatRequest.userList;
import com.ontheroad.api.response.Response;
import com.ontheroad.core.annotation.ValidateGroup;
import org.springframework.remoting.service.annotation.RemoteService;

import java.io.Serializable;

/**
 * 消息模块
 * Created by kedong on 2017/11/12 0012.
 */
@RemoteService
public interface ChatService extends Serializable {


    /**
     * 添加用户到群聊
     *
     * @param request
     * @return
     * @throws Exception
     */
    Response addUserToGroup(ChatRequest request) throws Exception;

}
